package com.sto.stoapp.util;

import java.util.Date;

public class TraceUtil {
	private static int traceTimes = Integer.parseInt(Helper.getStringFromDate(
			new Date(), "MMdd") + "000001");

	public static void initTrace() {
		traceTimes = Integer.parseInt(Helper.getStringFromDate(new Date(),
				"MMdd") + "000001");
	}

	public synchronized static String getTraceTimes() {
		int trace = traceTimes;
		traceTimes++;
		return trace + "";
	}
}
